import { Button, Card, Tabs } from "antd"
import AlarmRules from "./components/AlarmRules"
import AlarmSetting from "./components/AlarmSetting"
import BasicInformation from "./components/BasicInformation"
import OtherSetting from "./components/OtherSetting"
import ProjectMember from "./components/ProjectMember"

const App = ()=>{
return <Card>
    <Tabs items={[{
        label:'基础信息',
        key:'base',
        children:<BasicInformation/>
    },{
        label:'报警设置',
        
        key:'1',
        children:<AlarmSetting/>
    },{
        label:'报警规则',
        key:'2',
        children:<AlarmRules/>
    },{
        label:'成员',
        key:'3',
        children:<ProjectMember/>
    },{
        label:'其他',
        key:'4',
        children:<OtherSetting/>
    }]}/>
    <Button type='primary'>保存</Button>
</Card>
}
export default App